Optimal. Leaf size=76 \[ \frac{d \sqrt [4]{\cos ^2(a+b x)} \csc ^{p-1}(a+b x) \, _2F_1\left (\frac{1}{4},\frac{1-p}{2};\frac{3-p}{2};\sin ^2(a+b x)\right )}{b (1-p) \sqrt{d \cos (a+b x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.091963, antiderivative size = 76, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {2587, 2577} \[ \frac{d \sqrt [4]{\cos ^2(a+b x)} \csc ^{p-1}(a+b x) \, _2F_1\left (\frac{1}{4},\frac{1-p}{2};\frac{3-p}{2};\sin ^2(a+b x)\right )}{b (1-p) \sqrt{d \cos (a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2587
Rule 2577
Rubi steps
\begin{align*} \int \sqrt{d \cos (a+b x)} \csc ^p(a+b x) \, dx &=\left (\csc ^p(a+b x) \sin ^p(a+b x)\right ) \int \sqrt{d \cos (a+b x)} \sin ^{-p}(a+b x) \, dx\\ &=\frac{d \sqrt [4]{\cos ^2(a+b x)} \csc ^{-1+p}(a+b x) \, _2F_1\left (\frac{1}{4},\frac{1-p}{2};\frac{3-p}{2};\sin ^2(a+b x)\right )}{b (1-p) \sqrt{d \cos (a+b x)}}\\ \end{align*}
Mathematica [A] time = 0.171021, size = 70, normalized size = 0.92 \[ -\frac{2 (d \cos (a+b x))^{3/2} \sin ^2(a+b x)^{\frac{p-1}{2}} \csc ^{p-1}(a+b x) \, _2F_1\left (\frac{3}{4},\frac{p+1}{2};\frac{7}{4};\cos ^2(a+b x)\right )}{3 b d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.31, size = 0, normalized size = 0. \begin{align*} \int \sqrt{d\cos \left ( bx+a \right ) } \left ( \csc \left ( bx+a \right ) \right ) ^{p}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{d \cos \left (b x + a\right )} \csc \left (b x + a\right )^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{d \cos \left (b x + a\right )} \csc \left (b x + a\right )^{p}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{d \cos{\left (a + b x \right )}} \csc ^{p}{\left (a + b x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{d \cos \left (b x + a\right )} \csc \left (b x + a\right )^{p}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]